﻿<%@ Page EnableEventValidation="false" Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="pay.aspx.cs" Inherits="pay" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Table ID="tbThongTinKH" runat="server">
        <asp:TableRow ID="TableRow1" runat="server">
            <asp:TableCell ID="TableCell1" runat="server" ColumnSpan="2" 
                Text="Thông tin khách hàng" CssClass="Table_Search_Title"></asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow ID="TableRow2" runat="server">
            <asp:TableCell ID="TableCell2" runat="server" ColumnSpan="2" 
                Text="Xin quý khách hãy nh&#7853;p thông tin giao hàng. &#272;ây là nh&#7919;ng thông tin quan tr&#7885;ng, xin quý khách nh&#7853;p li&#7879;u c&#7849;n th&#7853;n &#273;&#7875; vi&#7879;c giao hàng di&#7877;n ra thu&#7853;n l&#7907;i. L&#432;u ý: nh&#7919;ng ph&#7847;n có d&#7845;u (*) là b&#7855;t bu&#7897;c." CssClass="Table_Search_Description">
                </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow3" runat="server">
            <asp:TableCell ID="TableCell3_1" runat="server" CssClass="Table_Search_Left_Column" Width="100%">H&#7885; tên ng&#432;&#7901;i nh&#7853;n (*)</asp:TableCell>
            <asp:TableCell ID="TableCell3_2" runat="server" Width="200px" HorizontalAlign="Left">
                <asp:RequiredFieldValidator 
                    ID="rfvName" 
                    runat="server" 
                    ErrorMessage="Xin hãy nh&#7853;p h&#7885; tên ng&#432;&#7901;i nh&#7853;n" 
                    ControlToValidate="tbHoTenNguoiNhan" 
                    Width="450px">
                </asp:RequiredFieldValidator>
                <asp:TextBox ID="tbHoTenNguoiNhan" runat="server" Width="150px"></asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow4" runat="server">
            <asp:TableCell ID="TableCell4_1" runat="server" CssClass="Table_Search_Left_Column" Width="100%">&#272;&#7883;a ch&#7881; ng&#432;&#7901;i nh&#7853;n (*)</asp:TableCell>
            <asp:TableCell ID="TableCell4_2" runat="server" Width="200px" HorizontalAlign="Left">
                <asp:RequiredFieldValidator 
                    ID="rfvAddress" 
                    runat="server" 
                    ErrorMessage="Xin hãy nh&#7853;p &#273;&#7883;a ch&#7881; ng&#432;&#7901;i nh&#7853;n" 
                    ControlToValidate="tbDiaChiNguoiNhan" 
                    Width="450px">
                </asp:RequiredFieldValidator>
                <asp:TextBox ID="tbDiaChiNguoiNhan" runat="server" Width="450px"></asp:TextBox>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow5" runat="server">
            <asp:TableCell ID="TableCell5_1" runat="server" CssClass="Table_Search_Left_Column" Width="100%">S&#7889; &#272;T ng&#432;&#7901;i nh&#7853;n (*)</asp:TableCell>
            <asp:TableCell ID="TableCell5_2" runat="server" Width="200px" HorizontalAlign="Left">
                <asp:RequiredFieldValidator 
                    ID="rfvSDT" runat="server" 
                    ErrorMessage="Xin hãy nh&#7853;p s&#7889; &#273;i&#7879;n tho&#7841;i" 
                    ControlToValidate="tbSDTNguoiNhan" 
                    Width="450px">
                </asp:RequiredFieldValidator>
                <asp:TextBox ID="tbSDTNguoiNhan" runat="server" Width="150px"></asp:TextBox>
                <asp:CustomValidator 
                    ID="cvSDT" runat="server" 
                    ControlToValidate="tbSDTNguoiNhan" 
                    ErrorMessage="S&#7889; &#273;i&#7879;n tho&#7841;i không chính xác"
                    OnServerValidate = "cvSDT_ServerValidate"
                    Width="450px"
                    ValidateEmptyText="true">
                </asp:CustomValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow6" runat="server">
            <asp:TableCell ID="TableCell6_1" runat="server" CssClass="Table_Search_Left_Column" Width="100%">Ph&#432;&#417;ng th&#7913;c thanh toán (*)</asp:TableCell>
            <asp:TableCell ID="TableCell6_2" runat="server" Width="200px">
                <asp:DropDownList ID = "ddlPTTT" runat="server">
                </asp:DropDownList>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow7" runat="server">
            <asp:TableCell ID="TableCell7_1" runat="server" CssClass="Table_Search_Left_Column" Width="100%">Ph&#432;&#417;ng th&#7913;c giao hàng (*)</asp:TableCell>
            <asp:TableCell ID="TableCell7_2" runat="server" Width="200px">
                <asp:DropDownList ID = "ddlPTGH" runat="server">
                </asp:DropDownList>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow13" runat="server">
            <asp:TableCell ID="TableCell13_1" runat="server" CssClass="Table_Search_Left_Column" Width="100%">S&#7889; ti&#7873;n giao d&#7883;ch</asp:TableCell>
            <asp:TableCell ID="TableCell13_2" runat="server" Width="200px" HorizontalAlign="Left">
                <asp:Label ID="lbTongTien" runat="server" Font-Bold="true" ForeColor="Red" Font-Names="times New Roman" Font-Size="Large">1234 VN&#272;</asp:Label>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    <asp:Table ID="tbThongTinTaiKhoanNganHang" runat="server">
        <asp:TableRow ID="TableRow8" runat="server">
            <asp:TableCell ID="TableCell8" runat="server" ColumnSpan="2" 
                Text="Thông tin tài kho&#7843;n" CssClass="Table_Search_Title"></asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow ID="TableRow9" runat="server">
            <asp:TableCell ID="TableCell9" runat="server" ColumnSpan="2" 
                Text="Xin quý khách vui lòng nh&#7853;p thông tin tài kho&#7843;n ngân hàng." CssClass="Table_Search_Description">
                </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow ID="TableRow10" runat="server">
            <asp:TableCell ID="TableCell10_1" runat="server" CssClass="Table_Search_Left_Column" Width="100%">Ch&#7885;n ngân hàng thanh toán (*)</asp:TableCell>
            <asp:TableCell ID="TableCell10_2" runat="server" Width="200px" HorizontalAlign="Left">
                <asp:DropDownList ID = "ddlBank" runat="server">
                </asp:DropDownList>
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow ID="TableRow11" runat="server">
            <asp:TableCell ID="TableCell11_1" runat="server" CssClass="Table_Search_Left_Column" Width="100%">S&#7889; tài kho&#7843;n (*)</asp:TableCell>
            <asp:TableCell ID="TableCell11_2" runat="server" Width="200px" HorizontalAlign="Left">
                <asp:RequiredFieldValidator 
                    ID="rfvSoTaiKhoan" runat="server" 
                    ErrorMessage="Xin hãy nh&#7853;p s&#7889; tài kho&#7843;n" 
                    ControlToValidate="tbSoTaiKhoan" 
                    Width="450px">
                </asp:RequiredFieldValidator>
                <asp:TextBox ID="tbSoTaiKhoan" runat="server" Width="150px"></asp:TextBox>
                <asp:CustomValidator
                    ID="cvSoTaiKhoan" runat="server" 
                    ControlToValidate="tbSoTaiKhoan" 
                    ErrorMessage="S&#7889; tài kho&#7843;n không chính xác"
                    OnServerValidate = "cvSTK_ServerValidate"
                    Width="450px"
                    ValidateEmptyText="true">
                </asp:CustomValidator>
            </asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow ID="TableRow12" runat="server">
            <asp:TableCell ID="TableCell12_1" runat="server" CssClass="Table_Search_Left_Column" Width="100%">S&#7889; an toàn (*)</asp:TableCell>
            <asp:TableCell ID="TableCell12_2" runat="server" Width="200px" HorizontalAlign="Left">
                <asp:RequiredFieldValidator 
                    ID="rfvSoAnToan" runat="server" 
                    ErrorMessage="Xin hãy nh&#7853;p s&#7889; an toàn" 
                    ControlToValidate="tbSoAnToan" 
                    Width="450px">
                </asp:RequiredFieldValidator>
                <asp:TextBox ID="tbSoAnToan" runat="server" Width="50px"></asp:TextBox>
                <asp:CustomValidator
                    ID="cvSoAnToan" runat="server"
                    ControlToValidate="tbSoAnToan"
                    ErrorMessage="S&#7889; an toàn không chính xác"
                    OnServerValidate = "cvSAT_ServerValidate"
                    Width="450px"
                    ValidateEmptyText="true">
                </asp:CustomValidator>
            </asp:TableCell>
        </asp:TableRow>
       
    </asp:Table>
    <asp:Button ID="btnXacNhan" runat="server" Text="Xác nhận" CausesValidation="true" 
        onclick="XacNhan_Click"/>
</asp:Content>
